package com.zsr.eduservice.client;

import com.zsr.commonutils.R;
import org.springframework.stereotype.Component;

import java.util.List;

/**
 * 视频模块熔断器实现类
 * @author zsr
 * @date 2021/6/17 10:01
 */
@Component
public class VodFileDegradeFeignClient implements VodClient{
    @Override
    public R removeVideo(String videoId) {
        return R.error().message("time out");
    }

    @Override
    public R removeVideoList(List<String> videoIdList) {
        return R.error().message("time out");
    }
}
